package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeHisOpTbl;
import sanshui.system.trade.db.entity.TradeHisOpTblExample;

public interface TradeHisOpTblMapper {
    long countByExample(TradeHisOpTblExample example);

    int deleteByExample(TradeHisOpTblExample example);

    int deleteByPrimaryKey(Long opId);

    int insert(TradeHisOpTbl record);

    int insertSelective(TradeHisOpTbl record);

    List<TradeHisOpTbl> selectByExampleWithRowbounds(TradeHisOpTblExample example, RowBounds rowBounds);

    List<TradeHisOpTbl> selectByExample(TradeHisOpTblExample example);

    TradeHisOpTbl selectByPrimaryKey(Long opId);

    int updateByExampleSelective(@Param("record") TradeHisOpTbl record, @Param("example") TradeHisOpTblExample example);

    int updateByExample(@Param("record") TradeHisOpTbl record, @Param("example") TradeHisOpTblExample example);

    int updateByPrimaryKeySelective(TradeHisOpTbl record);

    int updateByPrimaryKey(TradeHisOpTbl record);
}